package cn.kgc.ebook.dao;

import cn.kgc.ebook.pojo.Ebookcategory;
import cn.kgc.ebook.pojo.EbookcategoryExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EbookcategoryMapper {
    int countByExample(EbookcategoryExample example);

    int deleteByExample(EbookcategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Ebookcategory record);

    int insertSelective(Ebookcategory record);

    List<Ebookcategory> selectByExample(EbookcategoryExample example);

    Ebookcategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Ebookcategory record, @Param("example") EbookcategoryExample example);

    int updateByExample(@Param("record") Ebookcategory record, @Param("example") EbookcategoryExample example);

    int updateByPrimaryKeySelective(Ebookcategory record);

    int updateByPrimaryKey(Ebookcategory record);
}